//
//  InViewController.m
//  haixindai1111
//
//  Created by 李阳 on 15-6-30.
//  Copyright (c) 2015年 liyang. All rights reserved.
//

#import "InViewController.h"

@interface InViewController (){
    UIWebView *inwebView;
}

@end

@implementation InViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    inwebView = [[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
    NSURLRequest *request =[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.baidu.com"]];
    [self.view addSubview: inwebView];
    [inwebView loadRequest:request];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
